import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/qc/voice/check/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	modifyViolationStatus(data) {
		return request('modifyViolationStatus', data, 'post')
	},
	detailKeywordByCallId(data) {
		return request('detailKeyword/' + data, '', 'get')
	},
	export(data) {
		return request('exportVoiceCheck', data, 'post', {
			responseType: 'blob'
		})
	}
}
